package fun.codedesign.yinxue.code.php2java.rule.word;


import fun.codedesign.yinxue.code.php2java.rule.word.WordRule;

/**
 *  遇见 ; 换行
 */
public class SemicolonReturnLineWordLine implements WordRule {
    @Override
    public boolean isMatch(String originWord) {
        return ";".equals(originWord);
    }

    @Override
    public String invoke(String originWord) {
        return originWord+"\n";
    }
}
